package org.springframework.aop.framework;

import org.springframework.aop.AdvisedSupport;

import java.lang.reflect.Method;
import java.util.List;

/**
 * 动态拦截器链的获取工厂
 */
public interface AdvisorChainFactory {
    /**
     * 获取所有的方法拦截器和代理通知
     *
     * @param config
     * @param method
     * @param targetClass
     * @return
     */
    List<Object> getInterceptorsAndDynamicInterceptionAdvice(AdvisedSupport config, Method method, Class<?> targetClass);

}
